package com.nbgs.demo.controller;

import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AdminController {
    @RequiresRoles("超级管理员")
//    @RequiresPermissions("朝政")
    @RequestMapping("")
    public String shutdown(){
        return "开始上朝";
    }
}
